﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Os.Domain.OrdemServico>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Detalhes da Ordem de serviço n° <%= Html.Encode(Model.IdOrdemServico) %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <% Html.RenderPartial("DetalheOs"); %>

    <% if (Model.StatusOs == Os.Domain.StatusOrdemServico.Resolvido) %>
    <% { %>
    <p><%=  Html.ActionLink("Aprovar Ordem de Serviço", "Finalizar","OrdemServico", new {  id=Model.IdOrdemServico },null) %></p> 
    <% } %>
    <p>
        <%= Html.ActionLink("Voltar","MinhasOrdensServico") %>
    </p>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="headContent" runat="server">
</asp:Content>

